package com.googlecode.wmlynar.gwtbeans.gen;

import com.googlecode.wmlynar.gwtbeans.client.beans.AbstractBean;

/**
 * 
 * @author Wojciech Mlynarczyk (wmlynar@gmail.com)
 * 
 */
public class Bean2 extends AbstractBean {

    private String string2;
    private Bean2 bean1;
    private Bean2 bean2;

    public void setBean1(final Bean2 bean1) {
        support.firePropertyChange("bean1", this.bean1, this.bean1 = bean1);
    }

    public Bean2 getBean1() {
        return bean1;
    }

    public void setString2(final String string) {
        support.firePropertyChange("string2", this.string2, this.string2 = string);
    }

    public String getString2() {
        return string2;
    }

    public void setBean2(final Bean2 bean2) {
        support.firePropertyChange("bean2", this.bean2, this.bean2 = bean2);
    }

    public Bean2 getBean2() {
        return bean2;
    }

}
